<header>
    <div class="container">
        <div class="header-content">
            <div class="logo">{{$websiteData['names']}}</div>
            <nav>
                <ul id="nav-menu">
                    <li><a href="{{route('home.index')}}" @if($indexActive == 1) class="active" @endif >首页</a></li>
                    {{--                <li><a href="{{route('home.article.list')}}">文章列表</a></li>--}}
                    @foreach($websiteColumnArr as $val)
                        <li><a href="{{route('home.article.list')}}?topicId={{$val['id']}}&indexActive={{$val['indexActive']}}" @if($indexActive == $val['indexActive']) class="active"  @endif   >{{$val['titles']}}</a></li>
                    @endforeach
                </ul>
            </nav>
            <div class="search-bar">
                <input type="text" placeholder="搜索文章..." value="{{$keywords}}" id="article_title">
                <button><i class="fas fa-search"></i></button>
            </div>
            <div class="mobile-menu" id="mobile-menu">
                <i class="fas fa-bars"></i>
            </div>
        </div>
    </div>
</header>
